import java.util.Scanner;
public class EquaL {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入作业名称：");
        String a= in.next();
        String b=".zip";
        String c=".rar";
        if(a.contains(b)||a.contains(c)){
            System.out.println("作业提交成功。");
        }else{
            System.out.println("提交失败。");
        }
    }
}
